/**
 * Created by hjy on 2017/8/26.
 */
function learn(something) {
    console.log(something)
}

function we(callback,something) {
    something += ' is cool'
    callback(something)
}

we(learn,'Nodejs')//Nodejs is cool

we(function (something) {
    console.log(something)//hjy is cool
},'hjy')